package com.kaigejava.springwebsocket.service.impl;

import com.kaigejava.springwebsocket.domain.Items;
import com.kaigejava.springwebsocket.test.dao.ItemsMapper;
import com.kaigejava.springwebsocket.service.IitemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("itemsService")
public class ItemsServiceImpl implements IitemsService {

    @Autowired
    private ItemsMapper itemsMapper;
    @Override
    public Items getInfoById(Integer id) {
        return itemsMapper.getInfoById(id);
    }
}
